package com.surekam.mnai.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.surekam.mnai.dao.UserDao;
import com.surekam.mnai.model.MNAIUser;

/**
 * 用户登陆
 * 
 * @author yelb
 * 
 */
@Component
@Transactional
public class UserLoginService {

	@Autowired
	UserDao userDao;

	public MNAIUser loginByUserNumberAndPassword(String usernumber,
			String password) {
		return userDao.loginByUserNumberAndPassword(usernumber, password);
	}

}
